﻿namespace cjhushi
{
    public class Program
    {
        static void Main(string[] args)
        {
            //jiuzhishangyuan();
            lingqudami();
            Console.ReadKey();


        }

        private static void jiuzhishangyuan()
        {
            string? line1 = Console.ReadLine();
            string? line2 = Console.ReadLine();
            string input = line1 + " " + line2;
            WoundedTreater wt = new WoundedTreater(input);
            Console.WriteLine(wt.getResult());
        }
        private static void lingqudami()
        {
            string? line1 = Console.ReadLine();
            string? line2 = Console.ReadLine();
            string input = line1 + " " + line2;
            ReliefCounter rc = new ReliefCounter();
            Console.WriteLine(rc.getResult(input));
        }
    }

}